from rest_framework import serializers
from . import models


class UserModelSerialzier(serializers.ModelSerializer):

    class Meta:
        model=models.User
        fields='__all__'


class ArticleModelSerializer(serializers.ModelSerializer):

    class Meta:
        model=models.Travels
        fields='__all__'